# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class CreateBandwidthPackageSpec(object):

    def __init__(self, name, bandwidthMbps, description=None, provider=None, chargeSpec=None, userTags=None, resourceGroupId=None):
        """
        :param name:  名称，只支持中文、数字、大小写字母、英文下划线“_”及中划线“-”，且长度不超过32个字符
        :param description: (Optional) 描述，长度不超过256个字符
        :param bandwidthMbps:  共享带宽包带宽上限，取值范围200-5000，单位为Mbps，保底带宽 = 共享带宽包带宽上限 * 20%
        :param provider: (Optional) 线路信息，默认bgp，目前只支持中心节点的BGP线路
        :param chargeSpec: (Optional) 计费配置。支持包年包月、按配置、按用量计费模式
        :param userTags: (Optional) 用户标签
        :param resourceGroupId: (Optional) 资源所属资源组ID
        """

        self.name = name
        self.description = description
        self.bandwidthMbps = bandwidthMbps
        self.provider = provider
        self.chargeSpec = chargeSpec
        self.userTags = userTags
        self.resourceGroupId = resourceGroupId
